// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:07

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   nz.java

package com.zelix;

import java.awt.Component;
import java.awt.Dialog;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.File;

// Referenced classes of package com.zelix:
//            m4

final class nz
    implements PropertyChangeListener
{

    private final m4 a;
    private static String z;

    nz(m4 m4_1)
    {
        a = m4_1;
    }

    public void propertyChange(PropertyChangeEvent propertychangeevent)
    {
        if(propertychangeevent.getPropertyName().equals(z))
        {
            File file = (File)propertychangeevent.getNewValue();
            if(file != null)
            {
                a.n = 1;
                m4.d(a).setVisible(false);
                m4.d(a).dispose();
            }
        }
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x2b;
                    break;
                case 1:
                    key = 24;
                    break;
                case 2:
                    key = 44;
                    break;
                case 3:
                    key = 123;
                    break;
                default:
                    key = 79;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        z = z("MqB\032#x}@\036,_qC\025".toCharArray());

    }
}